package cn.edu.scau.cmi.liqiquan.abstractFactory.factory;

import cn.edu.scau.cmi.liqiquan.abstractFactory.insurance.PICCAccidentInsurance;
import cn.edu.scau.cmi.liqiquan.abstractFactory.insurance.PICCAutomobileDamageInsurance;
import cn.edu.scau.cmi.liqiquan.abstractFactory.insurance.PICCCasualtiesInsurance;
import cn.edu.scau.cmi.liqiquan.abstractFactory.insurance.PICCInjuryInsurance;
import cn.edu.scau.cmi.liqiquan.simpleFactory.AccidentInsurance;
import cn.edu.scau.cmi.liqiquan.simpleFactory.AutomobileDamageInusrance;
import cn.edu.scau.cmi.liqiquan.simpleFactory.CasualtiesInsurance;
import cn.edu.scau.cmi.liqiquan.simpleFactory.InjuryInsurance;
import cn.edu.scau.cmi.liqiquan.simpleFactory.Insurance;

public class PICCFactory extends AbstracFactory{
	@Override
	public InjuryInsurance createInjuryInsurance() {
		return new PICCInjuryInsurance();
	}
	
	@Override
	public AutomobileDamageInusrance createAutomobileDamageInusrance() {
		return new PICCAutomobileDamageInsurance();
	}
	
	@Override
	public CasualtiesInsurance createCasualtiesInsurance() {
		return new PICCCasualtiesInsurance();
	}
	
	@Override
	public AccidentInsurance createAccidentInsurance() {
		return new PICCAccidentInsurance();
	}
}
